using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ACME.Northwind.DataTransfer;

namespace ACME.Northwind.Service.Interfaces
{
	/// <summary>
	/// The service interface for the 'OrderDetail' object type
	/// </summary>
	public partial interface IOrderDetailService : IPersistableService<OrderDetailDTO>
	{
		/// <summary>
		/// Return a specific OrderDetail object by primary key
		/// </summary>
		OrderDetailDTO SelectByPrimaryKey(int orderid, int productid);

		/// <summary>
		/// Return the related Order item
		/// </summary>
		OrderDTO GetOrderItem(OrderDetailDTO item);

		/// <summary>
		/// Return the related Product item
		/// </summary>
		ProductDTO GetProductItem(OrderDetailDTO item);

	}
}
